const puppeteer =require('puppeteer')

puppeteer.launch({headless:false}).then((browser)=>{
    browser.newPage().then(page=>{
        page.goto('http://www.baidu.com')
    })
})